package com.ideabove.heart.game;

import java.util.ArrayList;
import java.util.Random;

import com.ideabove.heart.game.framework.GameView;
import com.ideabove.heart.game.framework.IState;
import com.ideabove.heart.manager.AppManager;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.media.SoundPool;
import android.view.KeyEvent;
import android.view.MotionEvent;

public class MoeState implements IState {
	
	private long m_LastShoot = System.currentTimeMillis();
	
	private int m_scroll = 0;
	private final static int SCROLL_SPEED = 1;
	
	public int m_score = 0;
	
	long m_LastRegenEnemy = System.currentTimeMillis();
	
	Random m_randEnem = new Random();
	Random m_randItem = new Random();
	
	SoundPool soundPool;
	
	GameView m_gameview;
	
	public MoeState(){
		AppManager.getInstance().m_gamestate = this;
	}
	
	
	@Override
	public void Init() {
//        m_player = new Player(AppManager.getInstance().getBitmap(R.drawable.player));
//        m_keypad=new GraphicObject(AppManager.getInstance().getBitmap(R.drawable.keypad));
//        m_background=new BackGround(1);
//        m_keypad.SetPosition(0,460-120);
	}
	

	
	
	@Override
	public void Render(Canvas canvas) {
    	
	}

	@Override
	public void Update() {
		long GameTime = System.currentTimeMillis();
	
	}

	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		
		return true;
	}


	
	@Override
	public boolean onTouchEvent(MotionEvent event) {
		

		
		return true;
	}

	@Override
	public void Destroy() {
		// TODO Auto-generated method stub
		
	}

}
